<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <css file="__STATIC__/css/base.css"/>
    </head>
    <body style="padding:10px;">
        <div class="path">
            <strong>您现在的位置：</strong>
            <a href="#">栏目管理</a>
        </div>
        <div class="send1">
            <a href="__CONTROL__/add_show"  class="current button1">添加顶级栏目</a>
        </div>
        <table class="table1">
            <thead>
                <tr>
                    <td width="30">排序</td>
                    <td width="30">catid</td>
                    <td>栏目名称</td>
                    <td width="160">所属模型</td>
                    <td width="200">操作</td>
                </tr>
            </thead>
            <tbody>
                <list from="$category" name="$v">
                    <tr>
                        <td width="30">{$v.sort}</td>
                        <td width="30">{$v.catid}</td>
                        <td>{$v.html}
                            <if value="$v.level gt 1"> 
                                └─<a href="__APP__/news/index/catid/{$v.catid}/mid/{$v.mid}">{$v.cname}</a>
                                <else><a href="__APP__/news/index/catid/{$v.catid}/mid/{$v.mid}">{$v.cname}</a>
                            </if>
                        </td>
                        <td width="160">文章系统</td>
                        <td width="200" style="font-size:12px;">
                            <a href="__CONTROL__/add_show/catid/{$v.catid}">添加子栏目</a> | 
                            <a href="#">修改</a> | 
                            <a href="__CONTROL__/del/catid/{$v.catid}">删除</a>
                        </td>
                    </tr>
                </list>
            </tbody>  
        </table>
        <div class="send2">
            <a href="#" class="button1">排序</a>
        </div>
    </body>
</html>
